package com.chc.web.role.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chc.web.role.entity.*;
import com.chc.web.user.entity.User;
import com.chc.web.user.entity.UserParm;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2021/12/22/16:39
 * @Description:
 */
public interface RoleService extends IService<Role> {
    IPage<Role> list(RoleParm parm);
    //分配权限树数据回显查询
    RolePermissionVo getAssignTree(RoleAssignParm parm);

    //分配权限保存
    void saveAssignRole(Long roleId, List<Long> ids);
}
